<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="utf-8">
  
  <title>JAVA</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  
  
  
  
  <meta property="og:type" content="website">
<meta property="og:title" content="JAVA">
<meta property="og:url" content="https://jameslin23.gitee.io/index.html">
<meta property="og:site_name" content="JAVA">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="JAVA">
  
    <link rel="alternate" href="/atom.xml" title="JAVA" type="application/atom+xml">
  

  

  <link rel="icon" href="/css/images/mylogo.jpg">
  <link rel="apple-touch-icon" href="/css/images/mylogo.jpg">
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  <link href="https://fonts.googleapis.com/css?family=Open+Sans|Montserrat:700" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic" rel="stylesheet" type="text/css">
  <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
  <style type="text/css">
    @font-face{font-family:futura-pt; src:url("/css/fonts/FuturaPTBold.otf") format("woff");font-weight:500;font-style:normal;}
    @font-face{font-family:futura-pt-light; src:url("/css/fonts/FuturaPTBook.otf") format("woff");font-weight:lighter;font-style:normal;}
    @font-face{font-family:futura-pt-italic; src:url("/css/fonts/FuturaPTBookOblique.otf") format("woff");font-weight:400;font-style:italic;}
}

  </style>
  <link rel="stylesheet" href="/css/style.css">

  <script src="/js/jquery-3.1.1.min.js"></script>
  <script src="/js/bootstrap.js"></script>

  <!-- Bootstrap core CSS -->
  <link rel="stylesheet" href="/css/bootstrap.css">

  
    <link rel="stylesheet" href="/css/home.css">
  

  

  

  
  
  
    <link rel="stylesheet" href="/css/vdonate.css">
  

</head>
</html>


  <body>


  
    <header id="header">

	<!-- 背景图模式 -->
	

    
      <div id="intrologo" class="intro-logo" style="background-position:center; background-repeat:no-repeat; background-image: url(); background-size: auto 100%;">

      <!-- Support rolling -->  
        
        <section class="awSlider">
          <div class="carousel slide carousel-fade " data-ride="carousel">

            <!-- Wrapper for slides -->
            <div class="carousel-inner">
               
                  
                    <div class="item active">
                  
                    <img id="carousel-img0" src="/css/images/pose.jpg">
                  </div>

                  <!-- 自适应大图 -->
                  <script>
                      var img0 = new Image();
                      var imageTag0 = document.getElementById("carousel-img0");
                      img0.src = imageTag0.src;
                      img0.onload=function(){
                        if (img0.width / img0.height <= document.body.clientWidth / document.body.clientHeight) {
                          imageTag0.style.width = document.body.clientWidth + "px";
                        } else {
                          imageTag0.style.height = document.body.clientHeight + "px";
                          imageTag0.style.marginLeft = -(document.body.clientHeight * img0.width / img0.height - document.body.clientWidth) / 2 + "px";
                        }
                      };
                  </script>
                
            </div>

            <!-- Controls -->
            <a class="left carousel-control" href=".carousel" role="button" data-slide="prev">
              <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
              <span class="sr-only">Geri</span>
            </a>
            <a class="right carousel-control" href=".carousel" role="button" data-slide="next">
              <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
              <span class="sr-only">İleri</span>
            </a>
          </div>
        </section>
        <script>
          $('section.awSlider .carousel').carousel({
              pause: '',
              interval: 5000
          });
          var startImage = $('section.awSlider .item.active > img').attr('src');
          $('section.awSlider .carousel').on('slid.bs.carousel', function () {
              var bscn = $(this).find('.item.active > img').attr('src');
              $('section.awSlider > img').attr('src', bscn);
          });
        </script>
      

    
 


    <canvas width="100%" height="100%"></canvas>
    <script>
      var c = document.getElementsByTagName('canvas')[0],
          x = c.getContext('2d'),
          w = window.innerWidth,
          h = window.innerHeight,
          pr = window.devicePixelRatio || 1,
          f = 90,
          q,
          m = Math,
          r = 0,
          u = m.PI*2,
          v = m.cos,
          z = m.random
      c.width = w*pr
      c.height = h*pr
      x.scale(pr, pr)
      x.globalAlpha = 0.6

      <!-- 折线Polyline背景 -->
      
    </script>
    

    
      <div id="homelogo" class="homelogo" style="background: rgba(255,255,255,1);"> 
    

        
          <div class="homelogoback" style="border: 1px solid #404040;">
            <h1><a href="#content" id="logo">JAVA</a></h1>
            <h3></h3>
            <h5>LeBron Tao</h5>
            <!-- <p><a href="https://github.com/iTimeTraveler" target="_blank">Github</a></p> -->
          </div>
        
    
    </div>
  </div>

  <!-- 自适应主页背景大图 -->
  

 <!-- home_logo_image居中 -->
 
    <script>
        var homelogodiv = document.getElementById("homelogo");
        if (document.all.homelogo.offsetWidth > document.body.clientWidth) {
          homelogodiv.style.width = document.body.clientWidth + "px";
          homelogodiv.style.marginLeft = document.body.clientWidth * -0.5 + "px";
        } else {
          homelogodiv.style.width = homelogodiv.clientWidth  + "px";
          homelogodiv.style.marginLeft = (homelogodiv.clientWidth)  * -0.5 + "px";
        }
    </script>
  

  <div class="intro-navigate">
      <p class="navigater-list">
        
          <a id="beautifont" class="main-nav-link" href="/">首页</a>
        
          <a id="beautifont" class="main-nav-link" href="/archives">归档</a>
        
          <a id="beautifont" class="main-nav-link" href="/categories">分类</a>
        
          <a id="beautifont" class="main-nav-link" href="/tags">标签</a>
        
          <a id="beautifont" class="main-nav-link" href="/about">关于</a>
        
      </p>
  </div>

</header>
  
  <div id="container">
    <div id="wrap">
      
            
      <div id="content" class="outer">
        
          <section id="main" style="float:none;">
  
    <article id="post-手写lua算法" class="article article-type-post" itemscope itemprop="blogPost">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/2021/02/05/手写lua算法/">手写lua算法</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/2021/02/05/手写lua算法/" class="article-date">
	  <time datetime="2021-02-05T00:40:37.000Z" itemprop="datePublished">2021-02-05</time>
	</a>

      
    <a class="article-category-link" href="/categories/数据结构与算法/">数据结构与算法</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          简介LRU(least recently used)是一种缓存置换算法。即在缓存有限的情况下，如果有新的数据需要加载进缓存，则将最久未使用的key删除掉。
手写代码继承LinkedHashMap借助linkedHashMap特点，可以实现LRU算法
1234567891011121314151617181920212223242526272829public class LRUCacheDemo&lt;K,V&gt; extends LinkedHashMap&lt;K, V&gt; &#...
        </p>
        <p class="article-more-link">
          <a href="/2021/02/05/手写lua算法/#more">阅读全文</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-java设计模式之单例模式" class="article article-type-post" itemscope itemprop="blogPost">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/2021/01/29/java设计模式之单例模式/">java设计模式之单例模式</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/2021/01/29/java设计模式之单例模式/" class="article-date">
	  <time datetime="2021-01-29T02:12:24.000Z" itemprop="datePublished">2021-01-29</time>
	</a>

      
    <a class="article-category-link" href="/categories/java基础/">java基础</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          编写单例模式的步骤
私有构造函数，外部不可new对象
实例化对象
提供外部访问接口

单例模式类型饿汉式类初始就new出来
123456789public class Hungry &#123;    private Hungry()&#123;&#125;    // 类初始化new对象    private final static Hungry HUNGRY = new Hungry();    public static Hungry getInstance()&#123;    ...
        </p>
        <p class="article-more-link">
          <a href="/2021/01/29/java设计模式之单例模式/#more">阅读全文</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-mysql常见的问题" class="article article-type-post" itemscope itemprop="blogPost">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/2021/01/27/mysql常见的问题/">mysql常见的问题</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/2021/01/27/mysql常见的问题/" class="article-date">
	  <time datetime="2021-01-27T03:20:53.000Z" itemprop="datePublished">2021-01-27</time>
	</a>

      
    <a class="article-category-link" href="/categories/数据库/">数据库</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          基础问题1.drop、truncate、 delete区别
drop: 删除整表（表空间，表结构），会释放空间，不能回滚。
truncat: 删除整表的数据，会保留表结构，索引，行的计数器重新开始，会释放空间
delete: 删除某行数据，会保留表结构，索引，行的计数器会累计，不会释放空间，可以回滚。
2.数据库三范式
1NF：字段不可分（一个字段只存储一项信息）
2NF：有主键，非主键依赖主键；
3NF：非主键的字段不能相互依赖；
3.char、varchar、varchar2区别
ch...
        </p>
        <p class="article-more-link">
          <a href="/2021/01/27/mysql常见的问题/#more">阅读全文</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-mysql索引" class="article article-type-post" itemscope itemprop="blogPost">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/2021/01/26/mysql索引/">mysql索引</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/2021/01/26/mysql索引/" class="article-date">
	  <time datetime="2021-01-26T10:50:20.000Z" itemprop="datePublished">2021-01-26</time>
	</a>

      
    <a class="article-category-link" href="/categories/数据库/">数据库</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          背景前提先参考此文章，讲得很详细，对索引的概述，结构等。
https://aobing.blog.csdn.net/article/details/109257302
索引的优化单表where搜索条件
最左前缀匹配原则
like xxx%,应该写在右边
避免在索引列上使用函数或者计算。
尽量少于or,可以使用union 代替

两表joinleft join 建立索引应该在右表
right join 建立索引应该在左表
Order byorder by也遵守最左前缀匹配原则，使用order...
        </p>
        <p class="article-more-link">
          <a href="/2021/01/26/mysql索引/#more">阅读全文</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-mysql之JOIN语法" class="article article-type-post" itemscope itemprop="blogPost">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/2021/01/26/mysql之JOIN语法/">mysql之JOIN语法</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/2021/01/26/mysql之JOIN语法/" class="article-date">
	  <time datetime="2021-01-26T07:26:26.000Z" itemprop="datePublished">2021-01-26</time>
	</a>

      
    <a class="article-category-link" href="/categories/数据库/">数据库</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          Mysql JOIN语法mysql join语法包括4大类，7种。


内连接（INNER JOIN）内连接，求交集
select * from table a  inner join table b on a.key = b.key;




左连接（LEFT JOIN）select * from table a left join table b on a.key = b.key;


select * from table a left join table b on a.key =...
        </p>
        <p class="article-more-link">
          <a href="/2021/01/26/mysql之JOIN语法/#more">阅读全文</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-mysql事务" class="article article-type-post" itemscope itemprop="blogPost">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/2021/01/26/mysql事务/">mysql事务</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/2021/01/26/mysql事务/" class="article-date">
	  <time datetime="2021-01-26T03:49:12.000Z" itemprop="datePublished">2021-01-26</time>
	</a>

      
    <a class="article-category-link" href="/categories/数据库/">数据库</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          事务的四大特性
原子性: 事务最小工作单位，要么全部成功,要没全部失败。
一致性: 事务开始和结束后，数据库完整性不会被破坏。
隔离性: 不同事务之间互不影响，四种隔离级别为RU(读未提交)、RC(读已提交)、RR(可重复读)、SERIALIZABLE （串行化）。
持久性: 事务提交后,对数据的修改是永久性的，即便系统故障也不会丢失。

事务的隔离级别
读未提交(Read UnCommitted/RU)
一个事务可以读取到另外一个事务未提交的数据。这种隔离级别是最不安全的，因为未提交的事...
        </p>
        <p class="article-more-link">
          <a href="/2021/01/26/mysql事务/#more">阅读全文</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-mysql架构简介" class="article article-type-post" itemscope itemprop="blogPost">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/2021/01/26/mysql架构简介/">mysql架构简介</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/2021/01/26/mysql架构简介/" class="article-date">
	  <time datetime="2021-01-26T03:49:12.000Z" itemprop="datePublished">2021-01-26</time>
	</a>

      
    <a class="article-category-link" href="/categories/数据库/">数据库</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          整体架构图

　　和其它数据库相比，MySQL 有点与众不同，它的架构可以在多种不同场景中应用并发挥良好作用。主要体现在存储引擎的架构上，插件式的存储引擎架构将查询处理和其它的系统任务以及数据的存储提取相分离。这种架构可以根据业务的需求和实际需要选择合适的存储引擎。
连接层　最上面一层，用于一些客户端和连接服务，如jdbc,odbc等。包含了本地sock通信和大多数基于客户端/服务端工具实现的类似与tcp/ip的通信，主要完成一些连接处理、授权认证、及相关的安全方案。在该层引入线程池的概念...
        </p>
        <p class="article-more-link">
          <a href="/2021/01/26/mysql架构简介/#more">阅读全文</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-NIO篇零拷贝" class="article article-type-post" itemscope itemprop="blogPost">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/2021/01/20/NIO篇零拷贝/">NIO篇零拷贝</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/2021/01/20/NIO篇零拷贝/" class="article-date">
	  <time datetime="2021-01-20T06:39:46.000Z" itemprop="datePublished">2021-01-20</time>
	</a>

      
    <a class="article-category-link" href="/categories/网络编程/">网络编程</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          前言操作系统最重要的就是内核，他既可以访问受保护的内存，也可以访问底层硬件设备，所以为了保护内核安全，操作系统将底层的虚拟空间分为用户空间和内核空间，其中用户空间就是给用户进程使用的，内核空间就是专门给操作系统使用的。


传统IO拷贝

这一轮操作下来，数据经过4次拷贝，有2次是内核空间和用户空间之间的数据拷贝，这两次拷贝涉及用户态和内核态的切换，需要CPU参与进来，进行上下文切换。另外2次是硬件和内核之间的数据拷贝，这个过程利用到DMA与系统内存交换数据，不需要CPU参与。
导致IO性...
        </p>
        <p class="article-more-link">
          <a href="/2021/01/20/NIO篇零拷贝/#more">阅读全文</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-redis内存淘汰机制" class="article article-type-post" itemscope itemprop="blogPost">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/2021/01/19/redis内存淘汰机制/">redis内存淘汰机制</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/2021/01/19/redis内存淘汰机制/" class="article-date">
	  <time datetime="2021-01-19T09:54:06.000Z" itemprop="datePublished">2021-01-19</time>
	</a>

      
    <a class="article-category-link" href="/categories/Nosql/">Nosql</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          前言开篇之前，先看下列2个问题

redis只分配5G内存，你往里面写10G内存会怎样？

redis我设置了过期时间，但是过期时间过后，redis内存并没有完全释放，是怎么回事？
针对这个2个问题，对redis的过期策略，内存淘汰机制及手写LRU代码。


redis内存
如果不设置最大内存大小或者最大内存大小为0，在64位操作系统下不限制内存大小，在32位操作系统下最多使用3GB内存。

一般推荐Redis设置内存最大物理内存的四分之三，也就是阈值0.75
redis配置方式

命令
...
        </p>
        <p class="article-more-link">
          <a href="/2021/01/19/redis内存淘汰机制/#more">阅读全文</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-排序算法之快速排序" class="article article-type-post" itemscope itemprop="blogPost">
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/2021/01/13/排序算法之快速排序/">排序算法之快速排序</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/2021/01/13/排序算法之快速排序/" class="article-date">
	  <time datetime="2021-01-13T03:22:38.000Z" itemprop="datePublished">2021-01-13</time>
	</a>

      
    <a class="article-category-link" href="/categories/数据结构与算法/">数据结构与算法</a>

      
      

    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          背景快速排序是对冒泡的一种改进，由C.A.R.Hoare在1962年提出的一种划分交换排序，采用分治策略（一般与递归结合使用）
减少排序过程中交换次数。
基本思路一、先通过第一趟排序，将数组分为两个部分，其中一部分的所有数据都小于另外一半的数据，原数组被划分2份。
二、通过递归的处理，对原数组分割的两部分分别划分两部分，同样是使得其中一部分的所有数据都小于另外一部分，这样数组
就被分为4份。
三、依次类推，直到数组被划分为1个或者多个相同的元素组成。
算法实现一、基准元素选取：选择其中一个...
        </p>
        <p class="article-more-link">
          <a href="/2021/01/13/排序算法之快速排序/#more">阅读全文</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  


  <nav id="page-nav">
    
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="space">&hellip;</span><a class="page-number" href="/page/6/">6</a><a class="extend next" rel="next" href="/page/2/">下一页 &raquo;</a>
  </nav>

</section>
        
      </div>
      
        <div align="center" style="margin-top: 30px;"><hr class="hr" style="margin:0px; height:3px;"></div>
      
      <footer id="footer">
  

  <div class="container">
      	<div class="row">
	      <p> Powered by <a href="http://hexo.io/" target="_blank">Hexo</a> and <a href="https://github.com/iTimeTraveler/hexo-theme-hiker" target="_blank">Hexo-theme-hiker</a> </p>
	      <p id="copyRightEn">Copyright &copy; 2013 - 2021 JAVA All Rights Reserved.</p>
	      
	      
    		<p class="busuanzi_uv">
				访客数 : <span id="busuanzi_value_site_uv"></span> |  
				访问量 : <span id="busuanzi_value_site_pv"></span>
		    </p>
  		   
		</div>

		
  </div>
</footer>


<!-- min height -->

<script>
    var wrapdiv = document.getElementById("wrap");
    var contentdiv = document.getElementById("content");
    var allheader = document.getElementById("allheader");

    wrapdiv.style.minHeight = document.body.offsetHeight + "px";
    if (allheader != null) {
      contentdiv.style.minHeight = document.body.offsetHeight - allheader.offsetHeight - document.getElementById("footer").offsetHeight + "px";
    } else {
      contentdiv.style.minHeight = document.body.offsetHeight - document.getElementById("footer").offsetHeight + "px";
    }
</script>
    </div>
    <!-- <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
    <a href="/categories" class="mobile-nav-link">Categories</a>
  
    <a href="/tags" class="mobile-nav-link">Tags</a>
  
    <a href="/about" class="mobile-nav-link">About</a>
  
</nav> -->
    

<!-- mathjax config similar to math.stackexchange -->

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    tex2jax: {
      inlineMath: [ ['$','$'], ["\\(","\\)"] ],
      processEscapes: true
    }
  });
</script>

<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
      tex2jax: {
        skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
      }
    });
</script>

<script type="text/x-mathjax-config">
    MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for(i=0; i < all.length; i += 1) {
            all[i].SourceElement().parentNode.className += ' has-jax';
        }
    });
</script>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>


  <link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
  <script src="/fancybox/jquery.fancybox.pack.js"></script>


<script src="/js/scripts.js"></script>


  <script src="/js/home.js"></script>










	<div style="display: none;">
    <script src="https://s95.cnzz.com/z_stat.php?id=1260716016&web_id=1260716016" language="JavaScript"></script>
  </div>



	<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js">
	</script>






  </div>

  <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h2 class="modal-title" id="myModalLabel">设置</h2>
      </div>
      <hr style="margin-top:0px; margin-bottom:0px; width:80%; border-top: 3px solid #000;">
      <hr style="margin-top:2px; margin-bottom:0px; width:80%; border-top: 1px solid #000;">


      <div class="modal-body">
          <div style="margin:6px;">
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" onclick="javascript:setFontSize();" aria-expanded="true" aria-controls="collapseOne">
              正文字号大小
            </a>
          </div>
          <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
          <div class="panel-body">
            您已调整页面字体大小
          </div>
        </div>
      


          <div style="margin:6px;">
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" onclick="javascript:setBackground();" aria-expanded="true" aria-controls="collapseTwo">
              夜间护眼模式
            </a>
        </div>
          <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
          <div class="panel-body">
            夜间模式已经开启，再次单击按钮即可关闭 
          </div>
        </div>

        <div>
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="true" aria-controls="collapseThree">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;关 于&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
        </div>
         <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
          <div class="panel-body">
            JAVA
          </div>
          <div class="panel-body">
            Copyright © 2021 LeBron Tao All Rights Reserved.
          </div>
        </div>
      </div>


      <hr style="margin-top:0px; margin-bottom:0px; width:80%; border-top: 1px solid #000;">
      <hr style="margin-top:2px; margin-bottom:0px; width:80%; border-top: 3px solid #000;">
      <div class="modal-footer">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
      </div>
    </div>
  </div>
</div>
  
  <a id="rocket" href="#top" class=""></a>
  <script type="text/javascript" src="/js/totop.js?v=1.0.0" async=""></script>
  
</body>
</html>